package com.tao.springBootJedis.service.impl;

import com.tao.springBootJedis.mapper.UserMapper;
import com.tao.springBootJedis.pojo.User;
import com.tao.springBootJedis.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;
    @Override
    public List<User> selectAllUser() {
        return userMapper.selectAllUser();
    }
}
